Announcement

Collapse
No announcement yet.

Background shows through where separately rendered objects meet. How to go about this?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Background shows through where separately rendered objects meet. How to go about this?

    I want to render two objects separately and then combine them back cleanly. The problem is that after combining the objects the composite alpha where the objects meet is not solid white and an outline appears through which the background can be seen. Please check the attached image.
    Attached Files
    Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
    AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB | GPU Driver 551.86 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

  • #2
    What program are you combining them in? I'm just thinking it might be a premulipty problem. Can you post the individual files?
    www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

    Comment


    • #3
      I just tried rendering them unmpremultiplied and it looks better (no black fringe at the edges) but a faint gap can still be seen. I tried with both Affinity Photo and Photoshop and the result is exactly the same. The images are intended for a website product configurator which is being developed by another team so I'm not sure what's the best way to deliver them. I guess unpremultiplied against black background with an alpha channel as a separate image? Please see attached the files where I've rendered the images unpremultiplied/straight.
      Attached Files
      Last edited by Alex_M; 28-09-2018, 05:03 PM.
      Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
      AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB | GPU Driver 551.86 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

      Comment


      • #4
        I'm not sure about Affinity but photoshop really sucks at layering up multiple images with transparency (I got similar results to yours). As such, I loaded them up in fusion and was able to get a clean solid alpha on the handle with no gaps in it using a standard additive merge but with the burn-in set to 1. The burn in of 1 is necessary to avoid the foreground alpha from cutting a hole in the background alpha which occurs right at the overlap parts. Additionally, in either Photoshop or fusion I can simply add the two alphas together and get a nice clean solid alpha so it's most likely something going on with the way the alphas being combined.

        I'm not sure how this will work once it gets handed off to the website team though.

        I'm sure someone with more compositing experience might have a better handle on what's going on and how to fix it. Anyone?
        Last edited by dlparisi; 01-10-2018, 03:48 PM.
        www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

        Comment


        • #5
          I've just heard from the website guys. They told me that the way I saved them with straight/unpremultiplied alphas work good for them so I think this is what I'll go with.
          Last edited by Alex_M; 02-10-2018, 04:53 PM.
          Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
          AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB | GPU Driver 551.86 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

          Comment

          Working...
          X